package com.yc.rpc.core;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@EnableConfigurationProperties
@ConfigurationProperties(prefix ="yc.rpc.client")
public class RpcClientConfig {

   public String getServerHost() {
      return serverHost;
   }

   public void setServerHost(String serverHost) {
      this.serverHost = serverHost;
   }

   public Integer getServerPort() {
      return serverPort;
   }

   public void setServerPort(Integer serverPort) {
      this.serverPort = serverPort;
   }

   public  String serverHost;
   public Integer serverPort;

}
